package model

type Dict struct{
	ID 			int 	`json:"id" gorm:"primary_key" desc:"功能id，自增"`
	Key 		string 	`json:"key" gorm:"not null" desc:"各种字典的options"`
	Name 		string 	`json:"name" gorm:"type:varchar(50);not null" desc:"各种字典的label"`
	Type 		string 	`json:"type" gorm:"not null"  desc:"数据类型，用于检索"`
	CreatedAt 	Time 	`json:"created_at" gorm:"type:timestamp" desc:"创建时间"`
	UpdatedAt	Time 	`json:"updated_at" gorm:"type:timestamp" desc:"更新时间"`
	DeletedAt	Time 	`json:"deleted_at" gorm:"type:timestamp" desc:"软删除时间"`
}
